package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.InsertNoticeDto;
import com.one.group.model.dto.NoticeQueryDto;
import com.one.group.model.dto.UpdateNoticeDto;
import com.one.group.model.entity.Notice;
import com.one.group.model.vo.NoticeListVo;

import java.util.List;


public interface NoticeService extends IService<Notice> {
    void saveByDto(InsertNoticeDto insertNoticeDto);

    void updateByDto(UpdateNoticeDto updateNoticeDto);

    List<NoticeListVo> findByNoticeQueryDto(NoticeQueryDto noticeQueryDto);

    String publish(Long id);


}
